import sys

sys.path.append('../../lib')

from salsa.coresvc import CoreClient
from salsa.service import Client
from salsa.service.stree import SourceTree

c = CoreClient()
st = Client('svc.stree', SourceTree)

try:
    # st.init_tree()
    
    gen = st.walk_tree(deps_for = 'tests/include/t_error.h')
    
    for f in gen:
        print f
finally:
    st.stop()
    c.stop()